package com.twang.stock.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.twang.stock.utils.date.HolidayCopy;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class DataObject implements Serializable {
    public static String nameKey="区间涨跌幅:前复权[20230103-"+ HolidayCopy.getRealToday()+"]";

    @JSONField(name = "code")
    private String code;

    //@JSONField(name =nameKey )
    private BigDecimal changeRate;

    @JSONField(name = "股票简称")
    private String stockName;

    @JSONField(name = "最新价")
    private String latestPrice;

    @JSONField(name = "最新涨跌幅")
    private String latestChange;

    @JSONField(name = "market_code")
    private String marketCode;

    @JSONField(name = "股票代码")
    private String stockCode;


}
